package com.cn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cn.pojo.TzCategory;
import com.cn.utils.RequestPage;

import java.util.List;

public interface CategoryService extends IService<TzCategory> {
    List<TzCategory> categoryPage(RequestPage requestPage);

    List<TzCategory> categoryById(Integer id);

    List<TzCategory> cateParent();

    Integer addCategory(TzCategory tzCategory);
}
